home *** CD-ROM | disk | FTP | other *** search
/ CyberMycha 2008 January / Cybermycha 1_2008.iso / Data.cab / _0F9C4329475F4182B133F7D98C854627 < prev    next >
Encoding:
Text File  |  2004-06-16  |  1.5 KB  |  91 lines

  1. $TEX1OPTIONSFILE(s,"")
  2.  
  3. shader()
  4. {// >=gf3
  5.     sortweight("translucent5")
  6.     Cull("none")
  7.     Shaderquality(3)
  8.     stream("color", 0)
  9.  
  10.     pass()
  11.     {
  12.         Pixelshader("Grass.psh")
  13.         tmu()
  14.         {
  15.             texture()
  16.             {
  17.                 Image(TEXTURE1)
  18.                 addressfunc("clamp", "clamp", "clamp")
  19.             }
  20.         }
  21.         !include("__Clouds.mtt")
  22.  
  23.         BlendFunc("src_alpha","inv_src_alpha")
  24.         AlphaFunc("greater", 32 )
  25.         DepthFunc("lequal", 0)
  26.     }
  27.  
  28.     lightpass()
  29.     !include("SpotGrass.mtt")
  30. }
  31.  
  32.  
  33. shader()
  34. {// >=gf3
  35.     sortweight("translucent5")
  36.     Cull("none")
  37.     Shaderquality(1)
  38.     stream("color", 0)
  39.  
  40.     pass()
  41.     {
  42.         Pixelshader("GrassVeryLow.psh")
  43.         tmu()
  44.         {
  45.             texture()
  46.             {
  47.                 Image(TEXTURE1)
  48.                 addressfunc("clamp", "clamp", "clamp")
  49.             }
  50.         }
  51.         BlendFunc("src_alpha","inv_src_alpha")
  52.         AlphaFunc("greater", 32 )
  53.         DepthFunc("lequal", 0)
  54.     }
  55.     lightpass()
  56.     !include("SpotGrass.mtt")
  57. }
  58.  
  59.  
  60. shader()
  61. {//gf2
  62.     sortweight("translucent5")
  63.     Cull("ccw")
  64.     Shaderquality(0)
  65. //    stream("color", 0)
  66.  
  67.     pass()
  68.     {
  69.  
  70.         tmu()
  71.         {
  72.  
  73.             texture()
  74.             {
  75.                 Image(TEXTURE1)
  76.                 addressfunc("clamp", "clamp", "clamp")
  77.             }
  78.  
  79.  
  80.  
  81.         }
  82.  
  83.         BlendFunc("src_alpha","inv_src_alpha")
  84.         AlphaFunc("greater", 32 )
  85.         DepthFunc("lequal", 0)
  86.     }
  87.  
  88.  
  89. }
  90.  
  91.